<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

	<s:action name="getTeacherRequest"></s:action>
    <s:set name="teacher" value="#request.tch"/>
   

	<div class="account_info">
    	<img src="pic/photo.jpg" class="user_photo" />
        <ul>
        	<li><span><s:property value="#teacher.name" ></s:property></span><span><s:property value="#teacher.sex" ></s:property></span></li>
            <li><s:property value="#teacher.email" ></s:property>@whu.edu.cn</li>
        </ul>
        <a href="javascript:$('.content').load('user_center/edit_teacher_info.jsp')" class="change_info"><img src="include/img/change_icon.png" />修改资料</a>
    </div>
    <hr class="line" />
    <div class="details">
    	<h>基本资料</h>
    	<ul>
        	<li><span>学院：</span><s:property value="#teacher.faculty" ></s:property></li>
            <li><span>电话：</span><s:property value="#teacher.phone" ></s:property></li>
            <li><span>邮件：</span><s:property value="#teacher.regularEmail" ></s:property></li>
        </ul>
        <h>研究相关</h>
        <ul>
		    <li><span>研究方向：</span>
            	<p><s:property value="#teacher.field" ></s:property>
            </li>
        	<li><span>实验地点：</span>
            	<p><s:property value="#teacher.lab " ></s:property>
                </p>
            </li>
        	<li><span>科研成果：</span>
            	<p><s:property value="#teacher.achievement " ></s:property>
                </p>
            </li>
            
        </ul>
    </div>

